package com.lx.rpc.consumer;

import com.lx.rpc.framework.consumerproxy.ProxyFactory;
import com.lx.rpc.provider.api.UserService;

/**
 * 消费者应用
 * @author wcy
 */
public class ConsumerApplication {

    public static void main(String[] args) {
        UserService userService = ProxyFactory.getProxy(UserService.class);
        String luoxue = userService.getUserInfo("luoxue");
        System.out.println(luoxue);



    }
}
